package com.gmall.data.common.config

import com.typesafe.config.{Config, ConfigFactory}

/**
 * 配置类
 */
object Config {

  private val load: Config = ConfigFactory.load()

  val kafkaBrokers        : String = load.getString("kafka.brokers")
  val hbaseZookeeperQuorum: String = load.getString("hbase.zookeeper.quorum")

  val redisHost    : String = load.getString("redis.host")
  val redisPort    : Int    = load.getInt("redis.port")
  val redisPassword: String = load.getString("redis.password")
  val redisDB      : Int    = load.getInt("redis.db")

}
